package com.zmc.lostfound.auth.vo;

import com.zmc.lostfound.auth.entity.PermissionEntity;
import com.zmc.lostfound.auth.entity.RoleEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author zmc
 * @description 用户详情信息响应对象
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class UserDetailInfoVO implements Serializable {

    private static final long serialVersionUID = -4028648772637266582L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 手机号
     */
    private String phone;

    /**
     * qq邮箱
     */
    private String qqEmail;

    /**
     * 昵称
     */
    private String nickname;

    /**
     * 头像访问链接
     */
    private String imgUrl;

    /**
     * 性别(0：女；1：男)
     */
    private Integer sex;

    /**
     * 封号状态(0:未封号，1:已封号)
     */
    private Integer disableStatus;

    /**
     * 元组创建时间
     */
    private LocalDateTime gmtCreate;

    /**
     * 元组修改时间
     */
    private LocalDateTime gmtModified;

    /**
     * 角色信息
     */
    private List<RoleEntity> roleList;

    /**
     * 权限信息
     */
    private List<PermissionEntity> permissionList;

}
